package org.jxht.dto;

import org.jxht.util.BaseDto;

/**
 * Created by huang on 2017/3/2 0002.
 * 教师实体类
 */
public class TeacherDto extends BaseDto {

    private int teaId = 0;

    private String teaPwd;

    private String teaName;

    private long teaTel;

    private String teaTitle;

    private int majId;

    public TeacherDto() { super(); }

    public TeacherDto(int teaId) {
        this.teaId = teaId;
    }

    public long getTeaId() {
        return teaId;
    }

    public void setTeaId(int teaId) {
        this.teaId = teaId;
    }

    public String getTeaPwd() {
        return teaPwd;
    }

    public void setTeaPwd(String teaPwd) {
        this.teaPwd = teaPwd;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public long getTeaTel() {
        return teaTel;
    }

    public void setTeaTel(long teaTel) {
        this.teaTel = teaTel;
    }

    public String getTeaTitle() {
        return teaTitle;
    }

    public void setTeaTitle(String teaTitle) {
        this.teaTitle = teaTitle;
    }

    public int getMajId() {
        return majId;
    }

    public void setMajId(int majId) {
        this.majId = majId;
    }

    @Override
    public String toString() {
        return "TeacherDto{" +
                "teaId=" + teaId +
                ", teaPwd='" + teaPwd + '\'' +
                ", teaName='" + teaName + '\'' +
                ", teaTel=" + teaTel +
                ", teaTitle='" + teaTitle + '\'' +
                ", majId=" + majId +
                '}';
    }
}
